home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / sdkdemo.odl < prev    next >
Encoding:
Text File  |  2001-10-16  |  2.6 KB  |  81 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // SDKDemo.odl : type library source for OLE Control project.
  12.  
  13. // This file will be processed by the Make Type Library (mktyplib) tool to
  14. // produce the type library (SDKDemo.tlb) that will become a resource in
  15. // SDKDemo.ocx.
  16.  
  17. #include <olectl.h>
  18. #include <idispids.h>
  19.  
  20. [ uuid(A63E6661-C85F-11D0-9B3B-444553540000), version(1.0),
  21.   helpstring("SDKDemo OLE Control module"), control ]
  22. library SDKDEMOLib
  23. {
  24.     importlib(STDOLE_TLB);
  25.     importlib(STDTYPE_TLB);
  26.  
  27.     //  Primary dispatch interface for CSDKDemoCtrl
  28.  
  29.     [ uuid(A63E6662-C85F-11D0-9B3B-444553540000),
  30.       helpstring("Dispatch interface for SDKDemo Control"), hidden ]
  31.     dispinterface _DSDKDemo
  32.     {
  33.         properties:
  34.             // NOTE - ClassWizard will maintain property information here.
  35.             //    Use extreme caution when editing this section.
  36.             //{{AFX_ODL_PROP(CSDKDemoCtrl)
  37.             [id(1)] BSTR FileName;
  38.             [id(2)] BSTR HideLayers;
  39.             [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
  40.             [id(3)] BSTR AllLayers;
  41.             //}}AFX_ODL_PROP
  42.  
  43.         methods:
  44.             // NOTE - ClassWizard will maintain method information here.
  45.             //    Use extreme caution when editing this section.
  46.             //{{AFX_ODL_METHOD(CSDKDemoCtrl)
  47.             //}}AFX_ODL_METHOD
  48.  
  49.             [id(DISPID_ABOUTBOX)] void AboutBox();
  50.     };
  51.  
  52.     //  Event dispatch interface for CSDKDemoCtrl
  53.  
  54.     [ uuid(A63E6663-C85F-11D0-9B3B-444553540000),
  55.       helpstring("Event interface for SDKDemo Control") ]
  56.     dispinterface _DSDKDemoEvents
  57.     {
  58.         properties:
  59.             //  Event interface has no properties
  60.  
  61.         methods:
  62.             // NOTE - ClassWizard will maintain event information here.
  63.             //    Use extreme caution when editing this section.
  64.             //{{AFX_ODL_EVENT(CSDKDemoCtrl)
  65.             //}}AFX_ODL_EVENT
  66.     };
  67.  
  68.     //  Class information for CSDKDemoCtrl
  69.  
  70.     [ uuid(A63E6664-C85F-11D0-9B3B-444553540000),
  71.       helpstring("SDKDemo Control"), control ]
  72.     coclass SDKDemo
  73.     {
  74.         [default] dispinterface _DSDKDemo;
  75.         [default, source] dispinterface _DSDKDemoEvents;
  76.     };
  77.  
  78.  
  79.     //{{AFX_APPEND_ODL}}
  80. };
  81.